// 搜索栏
.search{
    width: 1200px;
    height: 100px;
    margin: 0 auto;
    input{
        border: none;
    }
    button{
        border: none;
    }
    h1{
        margin-top: 12px;
        a{
            display: block;
            width: 75px;
            height: 75px;
            img{
                width: 100%;
                height: 100%;
            }
        }
    }
    .shopcar{
        width: 158px;
        height: 34px;
        line-height: 34px;
        border: 1px solid #bdbdbd;
        background: #fff;
        margin-top: 21px;
        cursor: pointer;
        .i_c{
            color: red;
            margin-left: 5px;
            
        }
        .num{
            margin: 0 20px;
            font-size: 16px;
            color: #900;
        }
    }
    .s_main{
        width: 533px;
        margin-right: 216px;
        margin-top: 21px;
        form{
            height: 36px;
            
            div{
               border: solid 3px #c7181d; 
               height: 100%;
            }
            input{
                width: 447px;
                height: 100%;
                color: #555;
                padding-left: 5px;
                font-size: 14px;
                float: left;
            }
            button{
                float: right;
                width: 73px;
                height: 36px;
                background-color: #c7181d;
                cursor: pointer;
                .iconfont{
                    font-size: 26px;
                    color: #fff;
                }
            }
        }
        ul{
            li{
                float: left;
                margin-right: 8px;
                margin-top: 5px;
                a:hover{
                    border-bottom: 1px solid #666;
                }
            }          
            .h_active{
                a{
                    color: red;
                }
                a:hover{
                    border-bottom: 1px solid red;
                }
            }
        }
    }
}

// 详情
.detail{
    width: 1200px;
    margin: 0 auto;
    .top{
        font-size: 16px;
        color: black;
        padding: 5px 0;
    }
    .det{
        border: 1px solid #e9e9e9;
        .add{
            cursor: pointer;
        }
        li{
            float: left;
        }
        .pic{
            width: 400px;
            margin: 20px;
            position: relative;
            img{
                display: block;
            }
            .smallP{
                width: 400px;
                height: 400px;
                margin-bottom: 15px;
                span{
                    width: 130px;
                    height: 130px;
                    background: rgba(200,200,200,0.5);
                    position: absolute;
                    left: 0;
                    top: 0;
                    display: none;
                }
            }
            .bigP{
                width: 400px;
                height: 400px;
                position: absolute;
                top: 0px;
                left: 440px;
                overflow: hidden;
                display: none;
                img{
                    width: 1200px;
                    height: 1200px;
                    position: absolute;
                    left: 0;
                    top: 0;
                }
                
            }
            .detailP{
                overflow: hidden;
                display: flex;
                justify-content : space-around;
                p{
                    width: 76px;
                    img{
                        display: block;
                    } 
                }
                .active{        
                    border: 2px solid #c00;
                }
            }
        }
        .deTail{
            width: 573px; 
            padding-right: 20px;
            h2{
                font-size: 16px;
                color: #333;
                overflow: hidden;
                line-height: 22px;
                padding-top: 18px;
            }
            .goods_t{
                margin-top: 20px;
                dl{
                    overflow: hidden;
                    height: 20px;
                    line-height: 20px;
                    padding: 10px 0;
                    font-size: 14px;

                    dt{
                        float: left;
                        width: 60px;
                    }
                    dd{
                        float: left;
                        input{
                            height: 20px;
                            width: 50px;
                            border: 1px solid #333;
                        }
                    }
                    .det_price{
                        font-size: 30px;
                        color: red;
                    }
                    .weight{
                        border: 2px solid #900;
                        border-radius: 2px;
                        padding: 3px;
                    }
                }
            }
            .det_bot{
                margin-top: 128px;
                a{
                    margin-right: 10px;
                    padding: 6px 15px;
                    background-color: #c7181d;
                    font-size: 20px;
                    color: #fff;
                    font-weight: bolder;
                    border-radius: 5px;
                }
            }
        }
        .hotSale{
            width: 164px;
            border-left: 1px solid #e9e9e9;
            height: 538px;
            text-align: center;
            h3{
                height: 30px;
                line-height: 30px;
                padding: 10px 0;
                font-size: 18px;
                color: #000;
                border-bottom: 1px solid #e9e9e9;
                margin-bottom: 10px;
            }
        }
    }
}

// 综合
.comp{
    width: 1200px;
    margin: 10px auto;
    ul{
        width: 100%;
        border-bottom: 2px solid #b20707;
        background-color: #f2f2f2;
        li{
            float: left;
            width: 150px;
            height: 40px;
            line-height: 40px;
            text-align: center;
            cursor: pointer;
            font-size: 16px;
            color: #757575;
            border-right: 1px solid #cfcfcf;
        }
        li.selected{
            background-color: #b30808;
            color: #fff;
        }
    }
    .cont{
        div{
            width: 1200px;
            height: 300px;
            display: none;
            font-size: 25px;
            text-align: center;
            font-weight: bolder;
            color: #fff;
        }
        .cont1{
            background-color: #f0f;
            display: block;
        }
        .cont2{
            background-color: #f00;
        }
        .cont3{
            background-color: #00f;
        }
        .cont4{
            background-color: #0ff;
        }
    }
}